package com.ug_project.spring_dict.DataAccess.Migrations

object Favorites : BaseIdTable("Favorites"){
    val name = varchar("Name", 32)
    val creatorId = integer("CreatorId") references Users.id
    val dictTable = varchar("DictTable", 12)

    init {
        uniqueIndex(name, creatorId, dictTable)
    }
}